package com.schoolcloud.social.mapper;

import com.schoolcloud.common.model.PageDTO;
import com.schoolcloud.social.entity.SocPost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schoolcloud.social.query.PostQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author hongmizfb
* @description 针对表【soc_post】的数据库操作Mapper
* @createDate 2025-02-10 16:17:19
* @Entity com.schoolcolud.social.entity.SocPost
*/
@Mapper
public interface SocPostMapper extends BaseMapper<SocPost> {
    List<SocPost> getPostPage(PostQuery query);

    long getPostCount(PostQuery query);
}




